<script setup lang="ts">
import { Button } from 'vant'

import { request } from '@/utils/request.ts'


function sendName() {
  request('/users/name/',  'post', { content: '张亦乐',name:1} )
}
</script>

<template>
  <div>
    <Button class="one_button" @click="sendName">zhang</Button>
  </div>
</template>

<style scoped>

.one_button {
  background-color: var(--cp-price);
}

</style>
